﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class menu5 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["name"] == null)
        {
            Response.Redirect("~/error.aspx?");
        }
        if (Session["power"].ToString() == "仓库管理员")
        {
            LinkButton3.Visible = false;
            LinkButton4.Visible = false;
         }
    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/OrderDetail.aspx?");
    }
    protected void LinkButton2_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/project.aspx?");
    }
    protected void LinkButton3_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/RecordsList.aspx?");
    }
    protected void LinkButton4_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/outRecordList.aspx?");
    }
    protected void LinkButton5_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/goodsinfor.aspx?");
    }
    protected void LinkButton6_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/goodskid.aspx?");
    }

    protected void LinkButton7_Click(object sender, EventArgs e)
    {

        Response.Redirect("~/findin.aspx?");
    }
    protected void LinkButton8_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/findin.aspx?");

    }
    protected void LinkButton9_Click(object sender, EventArgs e)
    {

        Response.Redirect("~/Mybuhuo.aspx?");
    }
}